﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityMode
{
    /// <summary>
    /// 数据上下文
    /// </summary>
     public class ApiDBContext:DbContext
    {
        public ApiDBContext(DbContextOptions<ApiDBContext> opts) : base(opts)
        {

        }
        public DbSet<People> people { get; set; }

        public DbSet<Employee> Employee { get; set; }
        public DbSet<Interview> Interview { get; set; }
    }
}
